----------------------------------------------------
Koopa-The-Quick Trajectory Modifier v0.2 by messiaen
----------------------------------------------------

   This simple program helps you creating a custom Koopa-The-Quick race in 
Bob-Omb's Battlefield using Toad's Tool 64 v0.5.98b interface (earlier or newer 
versions of Toad's Tool 64 aren't supported). Besides, it can change Koopa's
Speed (Normal/ Double / Triple) and patch it to the ROM.

----------
How to use
----------

- Apply koopa_trajectory.ppf patch to an extended Super Mario 64 ROM.

- Delete the "M64GeometryDataFlat.m64" file from your Toad's Tool 64 folder.

- Open the patched file in TT64 and wait for the polygon decoding process.

- Open the file in Toad's Tool 64 and go the Bob-Omb's Battlefield course 
and do the desired modifications. 

- To apply the changes into an extended ROM, save your work in Toad's Tool 64 
and run KoopaFrontEnd.exe. 

- After you change the coordinates, it's important to update the flag's
position to ensure that Koopa touches it, otherwise the timer won't stop. You 
may also want to change Koopa's initial position.

------------
How it works
------------

   The ROM patched with koopa_trajectory.ppf is used to collect new coordinates
for the race. Koopa's trajectory is mapped as 0x24 objects in the Bob-Omb's 
Battlefield level. You can extend his trajectory up to 146 coordinates or use
less coordinates than the original path if you want. In either case, an object
with a X, Y, Z position of 0,0,0 will determine the end of the trajectory. The 
last object in the level is reserved for the star position.
   The star position is in the checksum-protected area of the ROM, so a patch
is applied to override the checksum check. Some emulators might complaint about
it, but the ROM will run fine. I'll include a option to restore CRC check in a
later version, but you'll have to correct it manually and disable Toad's Tool 64
CRC check.


---
by messiaen
www.youtube.com/user/frauber


